View Issue Details

IDProjectCategoryView StatusLast Update
0001673T99X171.00 SKB EagleSW Issuepublic2025-04-07 10:02
Reporter(ALTech) Younkwang Jung Assigned To(SW) Jerry Lin Due Date2023-03-15 14:13
PriorityhighSeveritys4-minorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001673: [Smart3][ATV12] [Smart3][ATV12] TV Compatibility Test Issues
DescriptionHi kerwin

Our QA team visited LG/Samsung and did a TV compatibility test.
but some issues were observed
( I'll let you know the whole issue after I review it . )

Test FW : 15.537.10-20230214:userdebug

I don't know if the log below is the cause,
The following logs have been observed on some LG TVs.
============================================
..
[Mon Feb 27 16:12:59 2023] task:kworker/0:1/1469 task_cpu=0 on_cpu=1 prio=120 exec_start=1.114302 sum_exec_runtime=324ms load_avg=1003 util_avg=1002
[Mon Feb 27 16:12:59 2023] Call trace:
[Mon Feb 27 16:12:59 2023] [<ffffff800908c9ac>] dump_backtrace+0x0/0x24c
[Mon Feb 27 16:12:59 2023] [<ffffff800908cf44>] show_stack+0x2c/0x38
[Mon Feb 27 16:12:59 2023] [<ffffff8009d50c34>] dump_stack+0xa4/0xd0
[Mon Feb 27 16:12:59 2023] [<ffffff80090e0dd4>] ___might_sleep+0x134/0x184
[Mon Feb 27 16:12:59 2023] [<ffffff80090e0e7c>] __might_sleep+0x58/0x8c
[Mon Feb 27 16:12:59 2023] [<ffffff8009d5cd78>] mutex_lock+0x2c/0x78
[Mon Feb 27 16:12:59 2023] [<ffffff8009890900>] hdmitx_cntl_config+0x464/0x7cc
[Mon Feb 27 16:12:59 2023] [<ffffff800987d848>] hdmitx_audio_mute_op+0x54/0x60
[Mon Feb 27 16:12:59 2023] [<ffffff8009881a34>] hdmitx_set_drm_pkt+0x2f0/0x718
[Mon Feb 27 16:12:59 2023] [<ffffff80099c2680>] hdmi_packet_process+0x364/0x4f8
[Mon Feb 27 16:12:59 2023] [<ffffff80099be9b4>] vpp_matrix_update+0x2f8/0xfbc
[Mon Feb 27 16:12:59 2023] [<ffffff80099bfd20>] amvecm_matrix_process+0x6a8/0xe78
[Mon Feb 27 16:12:59 2023] [<ffffff80099cfe64>] amvecm_on_vs+0xe8/0x3f4
[Mon Feb 27 16:12:59 2023] [<ffffff8009835014>] vsync_isr+0x1998/0x6274
[Mon Feb 27 16:12:59 2023] [<ffffff800911d010>] __handle_irq_event_percpu+0xd0/0x288
[Mon Feb 27 16:12:59 2023] [<ffffff800911d27c>] handle_irq_event+0x54/0xa8
[Mon Feb 27 16:12:59 2023] [<ffffff8009121098>] handle_fasteoi_irq+0xe0/0x1dc
[Mon Feb 27 16:12:59 2023] [<ffffff800911be78>] generic_handle_irq+0x34/0x4c
[Mon Feb 27 16:12:59 2023] [<ffffff800911c688>] __handle_domain_irq+0x90/0xf8
[Mon Feb 27 16:12:59 2023] [<ffffff8009081010>] gic_handle_irq+0x58/0xa8
[Mon Feb 27 16:12:59 2023] Exception stack(0xffffffc09314b990 to 0xffffffc09314bac0)
..
========================================

First of all, please let me know the source code of the location indicated by the callstack below.
To discuss with Amlogic, I need to know the location of the code in the FW FXN built.

[Mon Feb 27 16:12:59 2023] [<ffffff8009890900>] hdmitx_cntl_config+0x464/0x7cc
[Mon Feb 27 16:12:59 2023] [<ffffff800987d848>] hdmitx_audio_mute_op+0x54/0x60

and please let me know if there is a suspicious part

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon

Activities

(ALTech) Younkwang Jung

2023-03-03 13:21

developer  

(ALTech) Younkwang Jung

2023-03-09 20:14

developer   ~0012492

HI Keriwn

https://jira.skbroadband.com/browse/FSTB12-101
Please analyze the TV Compatibility Test log
First of all, please check the logs for the TV models 75NANO97K / OLED55CXGNA.

Thank you
YK.Jung
image.png (370,729 bytes)
55UQ8200KNF.zip (5,867,913 bytes)
75NANO97K.zip (5,682,659 bytes)
75QNED96KGA.zip (1,849,191 bytes)
OLED48A3KNA.zip (9,191,427 bytes)
OLED55C1KNA.zip (5,139,820 bytes)
OLED55CXGNA.zip (4,382,999 bytes)

(ALTech) Younkwang Jung

2023-03-09 20:17

developer   ~0012493

Last edited: 2023-03-09 20:18

View 2 revisions

Hi Kerwin

I update the issue table again.
Please refer to this table.

Thank you
YK.Jung
image-2.png (352,143 bytes)

(ALTech) Younkwang Jung

2023-03-10 15:13

developer   ~0012506

Hi Kerwin

There are additional function related to CEC.
STB receives one of the following two cec commands when the TV is turned on, STB is also turned on (wakeup)
- Set Stream Path opcode (0x86)
- Routing Change opcode (0x80)

https://jira.skbroadband.com/browse/BTF-705

Thank you
YK.Jung

(SW) Jerry Lin

2023-03-10 18:11

developer   ~0012507

Hi YK,
There are additional function related to CEC.
STB receives one of the following two cec commands when the TV is turned on, STB is also turned on (wakeup)
- Set Stream Path opcode (0x86)
- Routing Change opcode (0x80)
==> if you have this log , please send me.

As far as i know ,
1. When SMART3 enters standby mode , it will send "<InActive Source> and <Standby>" CEC Messages to TV.
    If TV supports receiving and processing "<InActive Source>" CEC Message, TV may switch to other HDMI port and
    SMART3 will receive <Route Change> / <Set Stream Path> CEC Messages from TV.
    (You can turn on TV via TV's RCU and check HDMI port)

2. If SMART3 in standby mode and TV change to other HDMI input ==> SMART3 turn on via RCU ==> SMART3 will sends "one touch play (Text View / Route Change / Set Stream Path)" CEC messages


Jerry

(SW) Jerry Lin

2023-03-13 09:22

developer   ~0012509

Hi YK,
Please help to conform with SPtek about this code. There seems to be an inconsistency here.
in wakeUp() --> call mPowerManager.wakeUp --> compare with btv_hdmi_control_enabled --> if btv_hdmi_control_enabled is enable --> send "com.skbtv.tv.wakeup" broadcast
in standby()() --> compare with btv_hdmi_control_enabled --> if btv_hdmi_control_enabled is enable --> call mPowerManager.goToSleep --> send "com.skbtv.tv.wakeup" broadcast

in frameworks/base/services/core/java/com/android/server/hdmi/HdmiControlService.java
    void wakeUp() {
        assertRunOnServiceThread();
        mWakeUpMessageReceived = true;
        mPowerManager.wakeUp(SystemClock.uptimeMillis(), PowerManager.WAKE_REASON_HDMI,
                "android.server.hdmi:WAKE");
        // PowerManger will send the broadcast Intent.ACTION_SCREEN_ON and after this gets
        // the intent, the sequence will continue at onWakeUp().

                // add SPTEK : 2022.11.14 : + S
                // [BPM-9676] [CEC] TV전원제어 활성화시 TV On시 STB On
                // modified SPTEK.MW : 2023.01.25 : + S
                // [FSTB12-69] CEC 기능을 설정하지 않음에도 TV가 켜질 때, STB도 같이 켜짐
                Slog.w(TAG, "hdmi_wakeUp SendBroadcast Intent (com.skbtv.tv.wakeup) btv_hdmi_control_enabled : " + Settings.Global.getInt(getContext().getContentResolver(), "btv_hdmi_control_enabled", 0) + ", Intent (sys.stb.on) = " + SystemProperties.get("sys.stb.on"));
                if(Settings.Global.getInt(getContext().getContentResolver(), "btv_hdmi_control_enabled", 0) == 1 && SystemProperties.get("sys.stb.on").equals("0")){
                        Slog.d(TAG, "hdmi_wakeUp SendBroadcast Intent (com.skbtv.tv.wakeup), extra (hdmi)");
                        Intent intent = new Intent("com.skbtv.tv.wakeup");
                        intent.putExtra("reason", "hdmi");
                        getContext().sendBroadcast(intent);
                }
                // modified SPTEK.MW : 2023.01.25 : + E
                // add SPTEK : 2022.11.14 : + E
    }
    void standby() {
                Slog.d(TAG, "hdmi_standby HdmiControlService cec standby 2023.02.27");
                                // add SPTEK echwang : 2022.05.31 : + S : activeSource
                Slog.w(TAG, "hdmi_standby SendBroadcast Intent (com.skbtv.tv.sleep) btv_hdmi_control_enabled : " + Settings.Global.getInt(getContext().getContentResolver(), "btv_hdmi_control_enabled", 0) + ", Intent (sys.stb.on) = " + SystemProperties.get("sys.stb.on"));
                if(Settings.Global.getInt(getContext().getContentResolver(), "btv_hdmi_control_enabled", 0) == 1){
                        // add SPTEK.MW : 2023.01.26 : + S : call power manager standby
                        // [FSTB12-68] [구글인증] HdmiCecSystemStandbyTest ( cect_HandleBroadcastStandby / cect_HandleAddressedStandby )
                        // modified SPTEK.MW : 2020.04.16 : +- S
                assertRunOnServiceThread();
                if (!canGoToStandby()) {
                    return;
                }
                setActiveness(HdmiCecActiveness.CEC_INACTIVE);
                mStandbyMessageReceived = true;
                mPowerManager.goToSleep(SystemClock.uptimeMillis(), PowerManager.GO_TO_SLEEP_REASON_HDMI, 0);
                // PowerManger will send the broadcast Intent.ACTION_SCREEN_OFF and after this gets
                // the intent, the sequence will continue at onStandby().
                        // add SPTEK.MW : 2023.01.26 : + E : call power manager standby


                        Slog.d(TAG, "hdmi_standby SendBroadcast Intent (com.skbtv.tv.sleep) extra (hdmi)");
                        Intent intent = new Intent("com.skbtv.tv.sleep");
                        intent.putExtra("reason", "hdmi");
                        getContext().sendBroadcast(intent);
                }
                // add SPTEK echwang : 2022.05.31 : + E : activeSource
                // modified SPTEK.MW : 2020.04.16 : +- S
    }

If you have any question , please let me know.

Jerry

(ALTech) Wooshin Kang

2023-04-14 09:21

developer   ~0012858

Hi Jerry,

I will checking.

Thanks.

(ALTech) Wooshin Kang

2023-04-14 10:10

developer   ~0012860

Hi jerry,

I have discussed with M/W team.
They is saying that codes is correct.

I will discuss more if you give more information what issue is happen by that code.

Thanks.

(SW) Kerwin Chen

2025-04-07 10:02

developer   ~0017422

no activity for this issue

Issue History

Date Modified Username Field Change
2023-03-03 13:21 (ALTech) Younkwang Jung New Issue
2023-03-03 13:21 (ALTech) Younkwang Jung Status new => assigned
2023-03-03 13:21 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2023-03-03 13:21 (ALTech) Younkwang Jung File Added: _20230227_28_cd_c4_fd_4b_62_11.zip
2023-03-03 13:21 (ALTech) Younkwang Jung File Added: _20230227_28_cd_c4_fd_4b_62_8.zip
2023-03-03 13:22 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-03-03 13:22 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-03-09 20:14 (ALTech) Younkwang Jung Note Added: 0012492
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: image.png
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: 55UQ8200KNF.zip
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: 75NANO97K.zip
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: 75QNED96KGA.zip
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: OLED48A3KNA.zip
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: OLED55C1KNA.zip
2023-03-09 20:14 (ALTech) Younkwang Jung File Added: OLED55CXGNA.zip
2023-03-09 20:17 (ALTech) Younkwang Jung Note Added: 0012493
2023-03-09 20:17 (ALTech) Younkwang Jung File Added: image-2.png
2023-03-09 20:17 (ALTech) Younkwang Jung Assigned To (SW) Kerwin Chen => (ALTech) Younkwang Jung
2023-03-09 20:17 (ALTech) Younkwang Jung Priority normal => high
2023-03-09 20:17 (ALTech) Younkwang Jung Due Date 2023-03-10 14:13 => 2023-03-15 14:13
2023-03-09 20:18 (ALTech) Younkwang Jung Note Edited: 0012493 View Revisions
2023-03-10 15:13 (ALTech) Younkwang Jung Note Added: 0012506
2023-03-10 15:37 (SW) Kerwin Chen Assigned To (ALTech) Younkwang Jung => (SW) Jerry Lin
2023-03-10 18:11 (SW) Jerry Lin Note Added: 0012507
2023-03-13 09:22 (SW) Jerry Lin Note Added: 0012509
2023-04-14 09:21 (ALTech) Wooshin Kang Note Added: 0012858
2023-04-14 10:10 (ALTech) Wooshin Kang Note Added: 0012860
2025-04-07 10:02 (SW) Kerwin Chen Status assigned => closed
2025-04-07 10:02 (SW) Kerwin Chen Resolution open => fixed
2025-04-07 10:02 (SW) Kerwin Chen Note Added: 0017422